﻿public interface IWeChatAuthService
{
    Task<string> GenerateAuthUrlAsync(string returnUrl, bool silentAuth = false);
    Task<AuthProcessResult> ProcessAuthorizationAsync(string code, string state);
    Task<bool> ValidateStateAsync(string state);
    Task RemoveStateAsync(string state);
    Task<WeChatUserInfo> GetUserInfoAsync(string accessToken, string openId);
}